import type { PageDto } from './request'

export interface Advertise {
  id?: number
  name?: string
  type?: 0 | 1 // 0->PC首页轮播；1->app首页轮播
  pic?: string
  startTime?: string
  endTime?: string
  status?: 0 | 1 // 0->下线；1->上线
  clickCount?: number
  orderCount?: number
  url?: string
  note?: string
  sort?: number
}

export interface AdvertisePageDto extends PageDto {
  endTime?: string
  name?: string
  type?: 0 | 1
}
